package com.chaos.auth.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.HandlerExceptionResolver;

@Configuration
public class WebConfig {

    @Bean
    public HandlerExceptionResolver oAuth2ExceptionHandler() {
        return new OAuth2ExceptionHandler();
    }
}
